import Mock from 'mockjs'

Mock.mock(/\/bcs\/web\/drugfeeana\/test2/, 'post', {
  data: {
    total: 2,
    list: [
      {
        setlym: '2021-09',
        drugCode: 'aaa',
        drugName: '二甲双弧',
        dosform: '口服型',
        spec: '0.5g',
        psntime: 2345,
        psncnt: 1829,
        sumfee: 56688000,
        sumfeesr: 0.0123,
        avgfee: 2345.65,
        perpsnfee: 2345.65,
        fundexp: 23456500,
        fundexpsr: 0.0123,
        avgfundexp: 2345.65,
        perpsnfundexp: 2345.65,
        reimprop: 0.8,
        selfpay: 2345.65,
        avgselfpay: 5668.8,
        avgselfpaysr: 0.0123
      },
      {
        setlym: '2021-09',
        drugCode: 'bbb',
        drugName: '维生素',
        dosform: '口服型',
        spec: '0.5g',
        psntime: 2345,
        psncnt: 1829,
        sumfee: 56688000,
        sumfeesr: 0.0123,
        avgfee: 2345.65,
        perpsnfee: 2345.65,
        fundexp: 23456500,
        fundexpsr: 0.0123,
        avgfundexp: 2345.65,
        perpsnfundexp: 2345.65,
        reimprop: 0.8,
        selfpay: 2345.65,
        avgselfpay: 5668.8,
        avgselfpaysr: 0.0123
      }
    ]
  }
})

//区域
Mock.mock(/\/bcs\/web\/drugfeeana\/test3/, 'post', {
  data: {
    total: 2,
    list: [
      {
        setlym: '2021-09',
        admdvs: '110000',
        admdvsName: '海淀区',
        psntime: 2345,
        psncnt: 1829,
        sumfee: 56688000,
        sumfeesr: 0.0123,
        avgfee: 2345.65,
        perpsnfee: 2345.65,
        fundexp: 23456500,
        fundexpsr: 0.0123,
        avgfundexp: 2345.65,
        perpsnfundexp: 2345.65,
        reimprop: 0.8,
        selfpay: 2345.65,
        avgselfpay: 5668.8,
        avgselfpaysr: 0.0123
      },
      {
        setlym: '2021-09',
        admdvs: '120000',
        admdvsName: '朝阳区',
        psntime: 2345,
        psncnt: 1829,
        sumfee: 56688000,
        sumfeesr: 0.0123,
        avgfee: 2345.65,
        perpsnfee: 2345.65,
        fundexp: 23456500,
        fundexpsr: 0.0123,
        avgfundexp: 2345.65,
        perpsnfundexp: 2345.65,
        reimprop: 0.8,
        selfpay: 2345.65,
        avgselfpay: 5668.8,
        avgselfpaysr: 0.0123
      }
    ]
  }
})

//医疗机构等级
Mock.mock(/\/bcs\/web\/drugfeeana\/test4/, 'post', {
  data: {
    total: 2,
    list: [
      {
        setlym: '2021-09',
        fixmedinsLv: '三级',
        fixmedinsType: '综合',
        spcyType: '儿科',
        psntime: 2345,
        psncnt: 1829,
        sumfee: 56688000,
        sumfeesr: 0.0123,
        avgfee: 2345.65,
        perpsnfee: 2345.65,
        fundexp: 23456500,
        fundexpsr: 0.0123,
        avgfundexp: 2345.65,
        perpsnfundexp: 2345.65,
        reimprop: 0.8,
        selfpay: 2345.65,
        avgselfpay: 5668.8,
        avgselfpaysr: 0.0123
      },
      {
        setlym: '2021-09',
        fixmedinsLv: '二级',
        fixmedinsType: '综合',
        spcyType: '儿科',
        psntime: 2345,
        psncnt: 1829,
        sumfee: 56688000,
        sumfeesr: 0.0123,
        avgfee: 2345.65,
        perpsnfee: 2345.65,
        fundexp: 23456500,
        fundexpsr: 0.0123,
        avgfundexp: 2345.65,
        perpsnfundexp: 2345.65,
        reimprop: 0.8,
        selfpay: 2345.65,
        avgselfpay: 5668.8,
        avgselfpaysr: 0.0123
      }
    ]
  }
})

//医疗机构
Mock.mock(/\/bcs\/web\/drugfeeana\/test5/, 'post', {
  data: {
    total: 2,
    list: [
      {
        setlym: '2021-09',
        fixmedinsCode: '001',
        fixmedinsName: '北京测试医院医院1',
        psntime: 2345,
        psncnt: 1829,
        sumfee: 56688000,
        sumfeesr: 0.0123,
        avgfee: 2345.65,
        perpsnfee: 2345.65,
        fundexp: 23456500,
        fundexpsr: 0.0123,
        avgfundexp: 2345.65,
        perpsnfundexp: 2345.65,
        reimprop: 0.8,
        selfpay: 2345.65,
        avgselfpay: 5668.8,
        avgselfpaysr: 0.0123
      },
      {
        setlym: '2021-09',
        fixmedinsCode: '002',
        fixmedinsName: '北京测试医院医院2',
        psntime: 2345,
        psncnt: 1829,
        sumfee: 56688000,
        sumfeesr: 0.0123,
        avgfee: 2345.65,
        perpsnfee: 2345.65,
        fundexp: 23456500,
        fundexpsr: 0.0123,
        avgfundexp: 2345.65,
        perpsnfundexp: 2345.65,
        reimprop: 0.8,
        selfpay: 2345.65,
        avgselfpay: 5668.8,
        avgselfpaysr: 0.0123
      }
    ]
  }
})
